package com.aop;

import org.aspectj.lang.JoinPoint;
import org.aspectj.lang.annotation.AfterReturning;
import org.aspectj.lang.annotation.Aspect;
import org.springframework.stereotype.Service;

@Service
@Aspect
public class TimelineAOP {

//		@AfterReturning("execution(public * com.service.impl.UserServiceImpl.login(..))")
//		public void doBefore(JoinPoint jp) {
//			StringBuffer method = new StringBuffer();
//			method.append(jp.getTarget().getClass().getName()).append(".")
//					.append(jp.getSignature().getName());
//			Object[] args = jp.getArgs();
//	
//			System.out.println(method.toString());
//		}

}
